package com.hqhy.like.passport.service;

import com.hqhy.like.common.pojo.authentication.CurrentPrincipal;
import com.hqhy.like.passport.pojo.param.UserLoginInfoParam;
import com.hqhy.like.passport.pojo.vo.UserLoginResultVO;

public interface IUserService {

    UserLoginResultVO login(UserLoginInfoParam userLoginInfoParam,
                            String remoteAddr, String userAgent);

    void logout(CurrentPrincipal currentPrincipal);

}
